package homework;

public class Doctor3 extends Person3{
        String title;
        Doctor3(){};
        Doctor3(String name,int age,String address,String title){
            super(name,age,address);
            this.title=title;
        }
        void cut(){
            System.out.println(name+"正在做手术");
        }
}

